<template>
  <Echarts :options="barOptions" />
</template>

<script lang="ts" setup>
import { getBarOptions } from '@/components/Echarts/options'
import { ref, onMounted } from 'vue'
const barOptions = ref<object>()
const init = () => {
  barOptions.value = getBarOptions({
    series: [
      {
        data: [65, 89, 105, 87]
      },
      {
        data: [85, 80, 78, 104]
      },
      {
        data: [88, 90, 78, 104]
      },
      {
        data: [12, 12, 10, 8]
      }
    ]
  })
}

onMounted(() => {
  init()
})
</script>
